package day033;

public class day03练习 {
    public static void main(String[] args) {
        int a=2,b=5;
        System.out.println(a+b);
        System.out.println(a-b);
        System.out.println(a*b);
        System.out.println(a/b);
        System.out.println(a%b);
        System.out.println(b%a);
        System.out.println(a++);
        System.out.println(++a);
        System.out.println(a*a++);
        System.out.println(a++*a);
        a+=10;//a=(int)(a+10)
        a*=2;//a=(int)(a*2)
        a/=6;//a=(int)(a/6)
        //字符串连接：+
        int age=25;
        System.out.println("age=");
        System.out.println(age);
        System.out.println("age="+age);
        System.out.println("我今年"+29+"岁了");
        String name="ZDQ";
        System.out.println("大家好，我叫"+name);
        //
        System.out.println(10+20+""+30);
        System.out.println(""+10+20+30);
        System.out.println(10+20+30+"");




    }
}
